$(document).ready(function(){

});

function submitData(){
    var languge = $("input[name=languge]:checked").val();
    var questionId = $("input[name=question-id-language]").val();
    $.post("/registerPost",{"languge":languge,"questionId":questionId},function(rest){
        console.log(rest);
    });
 }